import {PlainCmsNamespace} from "@peryl/react-cms-editor";
import {DEMO_RESUME_DATA} from "./resume.data";
import {iBaseType} from "../components/base.type";

export const DEFAULT_RESUME_CMS_METAS: PlainCmsNamespace.iDataMeta[] = [{
  "design": { "designWidth": 820 },
  "id": "pl-17756e17-46ab-4196-97cb-94c084e2c6fa",
  "version": 1,
  "code": "row",
  "data": { "rowSpace": 0 },
  "binding": {
    "resume": {
      "from": "self",
      "name": "简历信息",
      "code": "resume",
      "seq": 1, "version": 0,
      "bindingSource": { "code": "custom", "entityCode": { "sec": "Resume" }, data: DEMO_RESUME_DATA }
    }
  }
}];

export interface iResumeRecord extends Partial<iBaseType> {
  jsonString?: string,
  remarks?: string,
  image?: string,
  fullName?: string,
  isTemplate: 'Y' | 'N'
}
